using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

namespace Odb_base.Interop
{
  [ComImport, TypeLibType((short)0x1040), Guid("27354144-7F64-5B0F-8F00-5D77AFBE261E")]
  internal interface IWriteSpeedDescriptor
  {
    [ComAliasName("IMAPI2Lib.IMAPI_MEDIA_PHYSICAL_TYPE"), DispId(0x101)]
    IMAPI_MEDIA_PHYSICAL_TYPE MediaType { [return : ComAliasName("IMAPI2Lib.IMAPI_MEDIA_PHYSICAL_TYPE")]
    [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x101)]
    get; }

    [DispId(0x102)]
    bool RotationTypeIsPureCAV { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x102)]
    get; }

    [DispId(0x103)]
    int WriteSpeed { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), DispId(0x103)]
    get; }
  }
}